IHipAnimationTrack

Undocumented in source.

Members

Functions

addFrames
IHipAnimationTrack addFrames(HipAnimationFrame[] frame)
Undocumented in source.
addFrames
IHipAnimationTrack addFrames(IHipTextureRegion[] regions)
Undocumented in source.
addFrames
IHipAnimationTrack addFrames(Array2D_GC!IHipTextureRegion sheet)
Undocumented in source. Be warned that the author may not have intended to support it.
getDuration
float getDuration()

Returns how many seconds the animation lasts

getFrameForProgress
HipAnimationFrame* getFrameForProgress(float progress)
Undocumented in source.
getFrameForTime
HipAnimationFrame* getFrameForTime(float time)
Undocumented in source.
loopingMode
HipAnimationLoopingMode loopingMode()
Undocumented in source.
loopingMode
HipAnimationLoopingMode loopingMode(HipAnimationLoopingMode mode)
Undocumented in source.
name
string name()
Undocumented in source.
reset
void reset()
Undocumented in source.
reverse
bool reverse()
Undocumented in source.
reverse
bool reverse(bool setReverse)
Undocumented in source.
setFrame
void setFrame(uint frame)
Undocumented in source.
setFramesPerSecond
void setFramesPerSecond(uint framesPerSecond)
Undocumented in source.
update
HipAnimationFrame* update(float deltaTime)
Undocumented in source.

Meta